package dev.alm.ggzxservice.controller;

import dev.alm.ggzxservice.common.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {

    @GetMapping("hello")
    public Result hello() {
        Result result = new Result();
        result.success();
        result.setData("hello");
        return result;
    }

}
